import { Module } from '@nestjs/common';
import { AppController } from './app.controller';
import { AppService } from './app.service';
import DatabaseModule from './database.module';
import { GpuModule } from './gpu/gpu.module';
import { CpuModule } from './cpu/cpu.module';
import { CenterModule } from './center/center.module';
import { SsdModule } from './ssd/ssd.module';
import { HddModule } from './hdd/hdd.module';
import { UserModule } from './user/user.module';
import { AuthModule } from './auth/auth.module';
import { MemoryModule } from './memory/memory.module';
import { CommitModule } from './commit/commit.module';
import { VideoModule } from './video/video.module';
import { AiModule } from './ai/ai.module';

@Module({
  imports: [
    DatabaseModule, //数据库模块
    GpuModule,
    CpuModule,
    CenterModule,
    SsdModule,
    HddModule,
    UserModule,
    AuthModule,
    MemoryModule,
    CommitModule,
    VideoModule,
    AiModule,
  ],
  controllers: [AppController],
  providers: [AppService],
})
export class AppModule {}
